package com.huiqiao.sys.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Table(name = "sys_user")
public class User {
//⽤户id
    @Id
private Integer userid;
//登录名称
private String loginname;
//身份证号码
private String identity;
//真实姓名
private String realname;
//性别
private Integer sex;
//地址
private String address;
//电话
private String phone;
//密码
private String pwd;
//职位
private String position;
//⽤户类型
private Integer type;
//是否可⽤
private Integer available;

}